//左侧菜单数据
export default [
	{
		name: "back-firstPage", //路由name
		title: "首页",
		icon: "icon-shouye",
		meta: { permission: "" }
	},
	{
		title: "订单管理",
		icon: "icon-jihua",
		meta: { permission: "order:index" },
		children: [
			{
				name: "jinli-order",
				title: "订单发货",
				icon: "icon-shuxing",
				meta: { permission: "delivery:order" },
				choose: true
			},
			{
				name: "jinli-send-out",
				title: "发货任务",
				icon: "icon-daifahuo",
				meta: { permission: "deliverytask:order" },
				choose: true
			},
			{
				name: "jinli-send-detail",
				title: "发货详情",
				icon: "icon-caidanlan-caigou-caigoudaohuotixing",
				meta: { permission: "deliverytask:order" },
				choose: true
			},
			{
				name: "jinli-reject",
				title: "退货",
				icon: "icon-xiaoshoutuihuochaxun",
				meta: { permission: "return:order" },
				choose: true
			}
		]
	},
	{
		title: "生产",
		icon: "icon-shengchanguanli",
		meta: { permission: "produce:index" },
		children: [
			{
				title: "计划",
				icon: "icon-jihua1",
				meta: { permission: "plan:produce" },
				choose: true,
				children: [
					{
						name: "jinli-plan-manage",
						title: "计划管理",
						icon: "",
						meta: { permission: "plan:produce:control" },
						choose: true
					},
					{
						name: "jinli-plan-issue",
						title: "计划下发",
						icon: "",
						meta: { permission: "plan:produce:distribute" },
						choose: true
					},
					{
						name: "jinli-plan-analyze",
						title: "计划分析",
						icon: "",
						meta: { permission: "plan:produce:distribute1" },
						choose: true
					}
				]
			},
			{
				title: "配拌投料",
				icon: "icon-touliaochuku",
				meta: { permission: "mixture:produce" },
				choose: true,
				children: [
					{
						name: "jinli-mixture-work",
						title: "当前拌料",
						icon: "",
						meta: { permission: "mixture:produce:now" },
						choose: true
					},
					{
						name: "jinli-mixture-detail",
						title: "拌投明细",
						icon: "",
						meta: { permission: "mixture:produce:detail" },
						choose: true
					}
				]
			},
			{
				title: "包装",
				icon: "icon-baozhuang",
				meta: { permission: "package:produce" },
				choose: true,
				children: [
					{
						name: "jinli-package-output",
						title: "实时产能",
						icon: "",
						meta: { permission: "package:produce:machine" },
						choose: true
					},
					{
						name: "jinli-package-onduty",
						title: "当班产量",
						icon: "",
						meta: { permission: "package:produce:personal" },
						choose: true
					}
					// {name: 'jinli-package-ondutyReport', title: '当班报工', icon: '', meta: {permission: "package:produce:personal"}, choose: true,},
					// {name: 'jinli-package-badDeduct', title: '不良扣除', icon: '', meta: {permission: "package:produce:personal"}, choose: true,},
				]
			}
		]
	},
	{
		title: "品控",
		icon: "icon-pinkongguanli",
		meta: { permission: "quality:index" },
		children: [
			{
				name: "jinli-quality-check",
				title: "当前质检",
				icon: "icon-zhuijiazhijiandu",
				meta: { permission: "quality:index:check" },
				choose: true
			},
			{
				name: "jinli-patrol-inspect",
				title: "当前巡检",
				icon: "icon-shengchanguanli",
				meta: { permission: "quality:index:inspect" },
				choose: true
			},
			{
				name: "jinli-disinfect",
				title: "当前消杀",
				icon: "icon-xiaodu",
				meta: { permission: "quality:index:disinfect" },
				choose: true
			},
			{
				name: "jinli-quality-record",
				title: "质检记录",
				icon: "icon-weixiujilu",
				meta: { permission: "quality:index:checkRecord" },
				choose: true
			},
			{
				name: "jinli-quality-analysis",
				title: "质量分析",
				icon: "icon-tongji1",
				meta: { permission: "quality:index:analysis" },
				choose: true
			},
			{
				name: "jinli-disinfect-record",
				title: "消杀记录",
				icon: "icon-wj-rz",
				meta: { permission: "quality:index:disinfectRecord" },
				choose: true
			},
			{
				name: "jinli-complaint",
				title: "投诉处理",
				icon: "icon-zixuntousu",
				meta: { permission: "quality:index:complaint" },
				choose: true
			}
		]
	},
	{
		title: "仓储",
		icon: "icon-changqucangkujichuziliao",
		meta: { permission: "storage:index" },
		children: [
			{
				title: "出库",
				icon: "icon-chuku",
				meta: { permission: "out:storage" },
				choose: true,
				children: [
					{
						name: "jinli-product-outbound",
						title: "成品出库",
						icon: "",
						meta: { permission: "out:storage:finish" },
						choose: true
					},
					{
						name: "jinli-auxiliary-outbound",
						title: "物料出库",
						icon: "",
						meta: { permission: "out:storage:materiel" },
						choose: true
					}
				]
			},
			{
				name: "",
				title: "入库",
				icon: "icon-ruku",
				meta: { permission: "in:storage" },
				choose: true,
				children: [
					{
						name: "jinli-product-in",
						title: "成品入库",
						icon: "",
						meta: { permission: "in:storage:finish" },
						choose: true
					},
					{
						name: "jinli-returngood-in",
						title: "退货入库",
						icon: "",
						meta: { permission: "in:storage:return" },
						choose: true
					},
					{
						name: "jinli-material-in",
						title: "物料入库",
						icon: "",
						meta: { permission: "in:storage:materiel" },
						choose: true
					}
				]
			},
			{
				title: "出入明细",
				icon: "icon-xiaoxiang-gongneng-kucunguanli",
				meta: { permission: "detail:storage" },
				choose: true,
				children: [
					{
						name: "jinli-product-indetail",
						title: "入库明细",
						icon: "",
						meta: { permission: "detail:storage:in" },
						choose: true
					},
					{
						name: "jinli-product-outdetail",
						title: "出库明细",
						icon: "",
						meta: { permission: "detail:storage:out" },
						choose: true
					},
					{
						name: "jinli-product-inventorydetail",
						title: "库存明细",
						icon: "",
						meta: { permission: "detail:storage:inventory" },
						choose: true
					},
					{
						name: "jinli-product-inventoryInfo",
						title: "库存详情",
						icon: "",
						meta: { permission: "detail:storage:inventoryInfo" },
						choose: true
					}
				]
			},
			{
				title: "废料",
				icon: "icon-xiaoshoutuihuochaxun",
				meta: { permission: "waste:storage" },
				choose: true,
				children: [
					{
						name: "jinli-receive-process",
						title: "接收处理",
						icon: "",
						meta: { permission: "waste:storage:receive" },
						choose: true
					}
					//   { name: 'jinli-search-tongji', title: '查询统计',icon: '',meta: {permission: ""},choose: true, },
				]
			}
		]
	},
	{
		title: "采购",
		icon: "icon-caigoudingdan",
		meta: { permission: "purchase:index" },
		children: [
			{
				name: "jinli-procure-trends",
				title: "库存动态",
				icon: "icon-xiaoxiang-gongneng-kucunguanli",
				meta: { permission: "dynamic:purchase" },
				choose: true
			},
			{
				name: "jinli-procure-task",
				title: "采购任务",
				icon: "icon-tongji-caigou-caigoutuihuozhuangtaifenxi",
				meta: { permission: "task:purchase" },
				choose: true
			},
			{
				name: "jinli-procure-detail",
				title: "采购明细",
				icon: "icon-a-caigou1",
				meta: { permission: "detail:purchase" },
				choose: true
			},
			{
				name: "jinli-procure-data-analysis",
				title: "数据分析",
				icon: "icon-shuju",
				meta: { permission: "detail:purchase" },
				choose: true
			}
		]
	},
	{
		title: "设备",
		icon: "icon-shebeiguanli",
		meta: { permission: "purchase:index" },
		children: [
			{
				name: "jinli-equipment-repair-report",
				title: "报修维修",
				icon: "icon-xiaoxiang-gongneng-kucunguanli",
				meta: { permission: "dynamic:purchase" },
				choose: true
			},
			{
				name: "jinli-equipment-repair-records",
				title: "维修记录",
				icon: "icon-tongji-caigou-caigoutuihuozhuangtaifenxi",
				meta: { permission: "task:purchase" },
				choose: true
			}
		]
	},
	{
		title: "光伏管理",
		icon: "icon-guangfu1",
		meta: { permission: "photovoltaic:index" },
		children: [
			{
				name: "jinli-pv-energy",
				title: "生产能耗",
				icon: "icon-nenghao",
				meta: { permission: "consumption:photovoltaic" },
				choose: true
			},
			// {
			// 	name: 'jinli-pv-analysis',
			// 	title: '能耗分析',
			// 	icon: 'icon-a-nenghao_nenghaotongji-27',
			// 	meta: {permission: "anayse:photovoltaic"},
			// 	choose: true,
			// },
			{
				name: "jinli-pv-manage",
				title: "光伏管理",
				icon: "icon-a-nenghaoicon_biaojimoxing_nenghaoleixing",
				meta: { permission: "manage:photovoltaic" },
				choose: true
			}
		]
	},
	// {
	// 	title: '财务',
	// 	icon: 'icon-gongxiangtuopaniconshangchuan-',
	// 	meta: {permission: "photovoltaic:index"},
	// 	children: [
	// 		{name: 'jinli-finance-workApprove', title: '报工核定', icon: 'icon-shenhedingyi', meta: {permission: ""}, choose: true,},
	// 		{name: 'jinli-finance-summary', title: '单日汇总', icon: 'icon-shuxing', meta: {permission: ""}, choose: true,},
	// 		{name: 'jinli-finance-violate', title: '扣减违章', icon: 'icon-zhiliangkoujian', meta: {permission: ""}, choose: true,},
	// 		{name: 'jinli-finance-salary', title: '工资管理', icon: 'icon-gongzi', meta: {permission: ""}, choose: true,},
	//
	// 	]
	// },
	{
		title: "扩展应用",
		icon: "icon-guanlianbeijian",
		meta: { permission: "extend:index" },
		children: [
			{
				name: "jinli-extend-hr",
				title: "人事管理",
				icon: "icon-renshixitong",
				meta: { permission: "personnel:extend" },
				choose: true
			},
			{
				name: "jinli-extend-health",
				title: "健康检疫",
				icon: "icon-jiankangma",
				meta: { permission: "health:extend" },
				choose: true
			},
			{
				name: "jinli-extend-violate",
				title: "违章管理",
				icon: "icon-weizhang",
				meta: { permission: "violation:extend" },
				choose: true
			},
			{
				name: "jinli-extend-case-code",
				title: "箱码管理",
				icon: "icon-gift-card-o",
				meta: { permission: "box:extend" },
				choose: true
			},
			// {
			// 	name: 'jinli-extend-terminal',
			// 	title: '终端管理',
			// 	icon: 'icon-zhongduan',
			// 	meta: {permission: "terminal:extend"},
			// 	choose: true,
			// },
			{
				title: "线边应用",
				icon: "icon-xianbiancangkuchaxun",
				meta: { permission: "line:extend" },
				choose: true,
				children: [
					{
						name: "jinli-line-feeding",
						title: "配拌投料",
						icon: "",
						meta: { permission: "line:extend:mixture" },
						choose: true
					},
					{
						name: "jinli-line-uzhi",
						title: "U直",
						icon: "",
						meta: { permission: "line:extend:U" },
						choose: true
					},
					{
						name: "jinli-line-shenzhi1",
						title: "伸直1",
						icon: "",
						meta: { permission: "line:extend:S1" },
						choose: true
					},
					{
						name: "jinli-line-shenzhi2",
						title: "伸直2",
						icon: "",
						meta: { permission: "line:extend:S2" },
						choose: true
					},
					{
						name: "jinli-line-puzhi",
						title: "普直",
						icon: "",
						meta: { permission: "line:extend:P" },
						choose: true
					}
					// {name: 'jinli-line-chengxing1', title: '成型AGV1', icon: '', meta: {permission: "line:extend:CX1"}, choose: true,},
					// {name: 'jinli-line-chengxing2', title: '成型AGV2', icon: '', meta: {permission: "line:extend:CX2"}, choose: true,},
					// {name: 'jinli-line-chengxing3', title: '成型AGV3', icon: '', meta: {permission: "line:extend:CX3"}, choose: true,},
					// {name: 'jinli-line-chengxing4', title: '成型AGV4', icon: '', meta: {permission: "line:extend:CX4"}, choose: true,},
				]
			},
			{
				name: "jinli-active-visual",
				title: "可视化",
				icon: "icon-shujukeshihua",
				meta: { permission: "visual:extend" },
				choose: true
			},
			{
				name: "active-visual", //路由name
				title: "迎宾发布",
				icon: "icon-renshixitong",
				meta: { permission: "yb:extend" }
			},
			{
				name: "photo-manage", //路由name
				title: "图片管理",
				icon: "icon-tupian",
				meta: { permission: "yb:extend" }
			}
		]
	},
	{
		title: "基础数据",
		icon: "icon-jichupeizhi",
		meta: { permission: "basedata:index" },
		children: [
			{
				name: "jinli-base-material", //路由name
				choose: true,
				title: "物料管理",
				icon: "icon-a-mianbaoxie-wuliaoguanli",
				meta: { permission: "basedata:index" }
			},
			{
				name: "jinli-base-device", //路由name
				choose: true,
				title: "设备注册",
				icon: "icon-cunchujiezhizhuce",
				meta: { permission: "basedata:index" }
			},
			{
				name: "standard-attr", //路由name
				title: "参数管理",
				choose: true,
				icon: "icon-canshupeizhi",
				meta: { permission: "st:basedata" }
			}
		]
	},
	{
		title: "系统管理",
		icon: "icon-guanligongju",
		meta: { permission: "system:index" },
		children: [
			{
				name: "back-visualImg", //路由name
				title: "视觉识别",
				choose: true,
				icon: "icon-tupian",
				meta: { permission: "images:system" }
			},
			{
				name: "back-organization", //路由name
				title: "组织架构",
				choose: true,
				icon: "icon-zuzhijiegou",
				meta: { permission: "org:system" }
			},
			{
				name: "back-role", //路由name
				title: "角色管理",
				choose: true,
				icon: "icon-quanxianshenyue",
				meta: { permission: "role:system" }
			},
			{
				name: "back-user", //路由name
				title: "用户管理",
				choose: true,
				icon: "icon-yonghu",
				meta: { permission: "user:system" }
			},
			{
				name: "back-systemLog", //路由name
				title: "系统日志",
				choose: true,
				icon: "icon-wj-rz",
				meta: { permission: "log:system" }
			},
			{
				name: "back-dataCopy", //路由name
				title: "数据备份",
				choose: true,
				icon: "icon-bianzubeifen",
				meta: { permission: "copy:system" }
			}
		]
	},
];
